#pragma once

#include "BulletObj.h"
#include <Hydrax/Hydrax.h>

class Speedboat
{
private:
	EntityWrapper* m_BoatObj;
	Hydrax::Hydrax* m_Hydrax;
	Ogre::SceneManager* m_Smgr;
	ParticleSystem* m_PS;
	float m_boatHeight;
	float m_buoyancy;
	float m_isRun;
	float m_Speed;
public:
	Speedboat(Ogre::SceneManager* smgr, EntityWrapper* boatObj, Hydrax::Hydrax* hydrax);
	~Speedboat();

	void Updata();
	void SetRun(bool setting);
	void SetSpeed(float speed){m_Speed = speed;}
	void SetTransform(Ogre::Vector3 pos, Ogre::Quaternion q);
	void SetVisiable(bool setting);
	void SetPhyEnable(bool setting);
	void Shoot(Ogre::Vector3 f);
	bool IsRun(){return m_isRun;}
	Ogre::SceneNode* GetBoatSceneNode(){return m_BoatObj->getRigidBody()->mNode;}
};